@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="articleInfoForm">
            <input type="hidden" id="id" value="${item.id}"/>
            <input type="hidden" id="statusValue" value="${item.status}"/>
            <div class="row">
                <div class="col-sm-12 b-r">
                           <#input id="citySel" name="文章类型" underline="true" readonly="readonly" hidden="type" hiddenValue="${item.type}" value="${typeName}"
							clickFun="ArticleInfoDlg.showTypeSelectTree(); return false;"
							style="background-color: #ffffff !important;" leftCol="2" rightCol="10"/>
                </div>
                <div class="col-sm-12 b-r">
                	<#input id="subject" name="文章标题" value="${item.subject}" underline="true" leftCol="2" rightCol="10"/>
                </div>
                <div class="col-sm-12 b-r">
					<#input id="creator" name="发布人" value="${item.creator}" underline="true" leftCol="2" rightCol="10"/>
                </div>
                <div class="col-sm-12 b-r">
                	<#input id="count" name="浏览量" value="${item.count}" underline="true" leftCol="2" rightCol="10"/>
                </div>
                <div class="col-sm-12 b-r">
               		<#select id="status" name="文章状态" underline="true" leftCol="2" rightCol="10"/>
                </div>
                <div class="col-sm-12 b-r">
                	<div class="form-group has-feedback">
						<label class="col-sm-1 control-label" style="width: 60px;">内容</label>
                		<div class="col-sm-10" style="width: 85%;height: 350px;">
                    		<div id="editor" class="editorHeight">${item.content}</div>
                		</div>
                	</div>
                </div>
                <div class="col-sm-12 b-r">
                	<div class="form-group has-feedback">
	               		<label class="col-sm-1 control-label" style="width: 60px;">简介</label>
	               		<div class="col-sm-10">
	               			<textarea id="profile" rows="5" cols="81" style="width: 102%;">${item.profile}</textarea>
	   					</div>
   					</div>
                </div>
               <div class="col-sm-12 b-r" style="margin-top:10px;">
               		 <#avatar id="avatar" name="封面" underline="true" avatarImg="${item.avatar}" leftCol="1"/>
               </div>
            </div>
			<!-- 这是类型选择的下拉框 -->
			<div id="menuContent" class="menuContent"
				style="display: none; position: absolute; z-index: 200;">
				<ul id="treeDemo" class="ztree tree-box" style="width: 249px !important;"></ul>
			</div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ArticleInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ArticleInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script type="text/javascript" src="${ctxPath}/static/js/plugins/wangEditor/wangEditor.js"></script>
<script src="${ctxPath}/static/modular/system/article/article_info.js"></script>
@}
